import request from '@/utils/request'

// 查询不需要验证是否登录的uri列表
export function listUnauthuri(query) {
  return request({
    url: '/cinema/cinema/unauthuri/list',
    method: 'get',
    params: query
  })
}

// 查询不需要验证是否登录的uri详细
export function getUnauthuri(id) {
  return request({
    url: '/cinema/cinema/unauthuri/' + id,
    method: 'get'
  })
}

// 新增不需要验证是否登录的uri
export function addUnauthuri(data) {
  return request({
    url: '/cinema/cinema/unauthuri',
    method: 'post',
    data: data
  })
}

// 修改不需要验证是否登录的uri
export function updateUnauthuri(data) {
  return request({
    url: '/cinema/cinema/unauthuri',
    method: 'put',
    data: data
  })
}

// 删除不需要验证是否登录的uri
export function delUnauthuri(id) {
  return request({
    url: '/cinema/cinema/unauthuri/' + id,
    method: 'delete'
  })
}

// 导出不需要验证是否登录的uri
export function exportUnauthuri(query) {
  return request({
    url: '/cinema/cinema/unauthuri/export',
    method: 'get',
    params: query
  })
}